/**
 * Copyright (c) 2011-2012
 * OmniCore CodeGuide
 */
package de.tum.in.oose.bumpers.cars;

import java.awt.Image;
/**
 * Slow Car impl.
 */
public class SlowCar extends Car {
	
	private static Image defaultSlowCarImage;
	
	/**
	 * @return the defaultSlowCarImage
	 */
	public static Image getDefaultSlowCarImage() {
		return defaultSlowCarImage;
	}

	/**
	 * @param defaultSlowCarImage the defaultSlowCarImage to set
	 */
	public static void setDefaultSlowCarImage(Image defaultSlowCarImage) {
		SlowCar.defaultSlowCarImage = defaultSlowCarImage;
	}

	/**
	 * @param maxX -
	 * @param maxY -
	 */
	public SlowCar(int maxX,
				   int maxY){
		super();
		initiate(maxX, maxY);
	}
	
	/**
	 * @param maxX -
	 * @param maxY -
	 */
	public void initiate(int maxX, int maxY) {
		this.setMinSpeed(2);
		this.setMaxSpeed(5);
		setBody(defaultSlowCarImage);
		super.initiate(maxX, maxY);
	}
	
	
}

